/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.excel;

public class XlTimePeriods {
	private final int value;

	/** xlToday **/
	public static final XlTimePeriods Today = new XlTimePeriods(0);
	/** xlYesterday **/
	public static final XlTimePeriods Yesterday = new XlTimePeriods(1);
	/** xlLast7Days **/
	public static final XlTimePeriods Last7Days = new XlTimePeriods(2);
	/** xlThisWeek **/
	public static final XlTimePeriods ThisWeek = new XlTimePeriods(3);
	/** xlLastWeek **/
	public static final XlTimePeriods LastWeek = new XlTimePeriods(4);
	/** xlLastMonth **/
	public static final XlTimePeriods LastMonth = new XlTimePeriods(5);
	/** xlTomorrow **/
	public static final XlTimePeriods Tomorrow = new XlTimePeriods(6);
	/** xlNextWeek **/
	public static final XlTimePeriods NextWeek = new XlTimePeriods(7);
	/** xlNextMonth **/
	public static final XlTimePeriods NextMonth = new XlTimePeriods(8);
	/** xlThisMonth **/
	public static final XlTimePeriods ThisMonth = new XlTimePeriods(9);


	private XlTimePeriods(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static XlTimePeriods valueOf(int value) { return new XlTimePeriods(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != XlTimePeriods.class) return false;
		return ((XlTimePeriods)o).value == value;
	}
	public int hashCode() { return value; }
}
